import { driver } from 'driver.js'
import 'driver.js/dist/driver.css'  
export function initDriver() {
  return driver({
    showProgress: true,
    nextBtnText: '下一步',
    prevBtnText: '上一步',
    doneBtnText: '完成',
    steps: [
      {
        element: '#step1',
        popover: {
          title: '岗位选择',
          description: '在这里可以选择你想要模拟面试的岗位',
          side: 'bottom',
          align: 'center'
        }
      },
      {
        element: '#step2',
        popover: {
          title: '开始面试',
          description: '点击这里开始模拟面试',
          side: 'bottom',
          align: 'center'
        }
      },
    ]
  })
}